package com.fili;

import com.fili.core.params.DryConfig;
import com.fili.core.params.DryParams;
import com.fili.core.Log;
import com.fili.gui.DryMainFrame;

import javax.swing.*;
import java.io.PrintStream;

/**
 * Created by Claudiu-Florin FILIMON
 * Date: Oct 19, 2006
 * Time: 10:34:18 PM
 */
public class DryMain
{
    public static DryMainFrame dryMainFrame;


    public static void main(String[] args)
    {
        try
        {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        }
        catch (Exception e)
        {
            Log.writeLog(e);
        }

        DryParams.loadParams();

        if (DryConfig.getConfig().canRun())
        {
            dryMainFrame = new DryMainFrame();
        }
        else
            System.exit(0);
    }
}
